/**
 * Created by PengWei on 2018/7/26.
 */

namespace game {
    import BaseCommand = mengdao.BaseCommand;

    export class InitLayerCommand extends BaseCommand {
        public execute(data: any) {
            let layer = new Layer();
            layer.init(this._context.stage);

            this._injector.bind(Layer).toConstValue(layer);
            this.dispose();
        }
    }
}